//
//  SkillSelectCell.m
//  XJMTechnician
//
//  Created by 高波 on 2019/1/9.
//  Copyright © 2019 Mr.hu. All rights reserved.
//

#import "SkillSelectCell.h"

@interface SkillSelectCell()

@property (weak, nonatomic) IBOutlet UILabel *skillName;
@property (weak, nonatomic) IBOutlet UIImageView *isSelected;


@end

@implementation SkillSelectCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setModel:(SkillInfoModel *)model
{
    _model = model;
    
    self.skillName.text = model.name;
    if ([model.trues integerValue] == 1) {
        self.isSelected.hidden = NO;
    }else {
        self.isSelected.hidden = YES;
    }
}

@end
